package com.hostapp.demo;

import android.app.Application;
import android.content.Context;

import com.hostapp.demo.activity.ams_hook.HookUtil;

/**
 * ${CLASS} class
 *
 * @author tzy
 * @date 2021/03/08
 */
public class UPFApplication extends Application {

    private static Context sContext;

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        sContext = base;
    }

    public static Context getContext() {
        return sContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
//        HookUtil util = new HookUtil(getContext());
//        util.hookSystemHandler();
//        util.hookAms();
    }
}
